package com.fish.service.passport;

import java.util.List;

import com.fish.passport.po.PassPortCode;

/**
 * @author ShiHui
 */
public interface PassPortCodeService {
	/**
	 * 按通关码ID查询
	 */
	List<PassPortCode> queryPassPortCodes(String codeId);

	/**
	 * 按通关点ID查询
	 */
	boolean selectByPortId(String portId);
	/**
	 * 添加通关码关联信息
	 * @param passPortCodes
	 */
	void addPassPortCodes(PassPortCode passPortCodes);
	/**
	 * 修改
	 * */
	public void updatePassPortCode(PassPortCode passPortCode);
	
	/**
	 * 查询通关点关联信息
	 * @param codeId
	 * @return
	 */
	public PassPortCode getPassPortCodeByCodeIdAndPortId(String codeId,String portId) ;
	
}
